package com.example.springdocdemo;

import io.swagger.v3.oas.annotations.OpenAPIDefinition;
import io.swagger.v3.oas.annotations.info.Info;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@OpenAPIDefinition(info =
@Info(title = "OpenApi示例接口信息", version = "1.0", description = "这是一个示例OpenAPI文档，用于演示如何整合 springdoc-openapi，并生成OpenAPI文档供其他使用")
)
public class SpringdocDemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringdocDemoApplication.class, args);
    }

}
